package cn.tqfeiyang.smartadmin.business.member.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 会员等级
 *
 * @author tqfeiyang
 * @wechat 18576228047
 * @email 1787585212@qq.com
 * @date 2024/8/15 9:33
 */
@Data
@TableName("t_member_level")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MemberLevelEntity {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 等级名称
     */
    @TableField
    private String name;

    /**
     * 备注
     */
    @TableField
    private String remark;

    /**
     * 排序
     */
    @TableField
    private Integer sort;

    /**
     * 状态
     */
    @TableField
    private Boolean status;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
